package ru.tulupov.scheduledrunner.command;

public abstract class Command {
	protected String[] args = null;

	/**
	 * Initializes a command by setting its arguments
	 * 
	 * @param args
	 *            the array of String that contains command arguments
	 */
	public void init(String[] args) {
		this.args = args;
	}

	/**
	 * Run a command
	 * 
	 * @param context
	 *            the context of execution
	 */
	public abstract void execute(Context context);

}
